Fix parsing of cpus in the guest configuration file.
authorEwan Mellor <ewan@xensource.com>
Tue, 19 Dec 2006 12:00:11 +0000 (12:00 +0000)
committerEwan Mellor <ewan@xensource.com>
Tue, 19 Dec 2006 12:00:11 +0000 (12:00 +0000)
Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
tools/python/xen/xend/XendConfig.py

index 1d4587fa7e0990a0f45f7116040c107ee65a43c1..8dd17c4329867e79f9e4bab6f613c5d684e47994 100644 (file)
@@ -85,6 +85,7 @@ def scrub_password(data):
 XENAPI_CFG_TO_LEGACY_CFG = {
     'uuid': 'uuid',
     'vcpus_number': 'vcpus',
+    'cpus': 'cpus',
     'memory_static_min': 'memory',
     'memory_static_max': 'maxmem',
     'name_label': 'name',